//
//  SPLiveDetailPFSelectView.m
//  panzer
//
//  Created by 还带大道 on 2018/10/24.
//  Copyright © 2018年 还带大道. All rights reserved.
//

#import "SPLiveDetailPFSelectView.h"

@interface SPLiveDetailPFSelectView()
@property (weak, nonatomic) IBOutlet UILabel *count_woman;
@property (weak, nonatomic) IBOutlet UILabel *count_man;
@property (weak, nonatomic) IBOutlet UIView *womanView;
@property (weak, nonatomic) IBOutlet UIView *manView;

@end

@implementation SPLiveDetailPFSelectView

+ (instancetype)shareHeaderView
{
    return [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil].lastObject;
}


- (void)awakeFromNib
{
    [super awakeFromNib];
    _womanView.backgroundColor = [UIColor whiteColor];
    _manView.backgroundColor = [UIColor whiteColor];
}


- (IBAction)woman {
    !self.genderSwitchBlock?:self.genderSwitchBlock(GenderType_WOMAN);
}


- (IBAction)man{
    !self.genderSwitchBlock?:self.genderSwitchBlock(GenderType_MAN);
}

@end
